<h1><%=@user.login%></h1>
<table>
  <tr>
    <td>First Name:</td>
    <td><%= @user.firstname %></td>
  </tr>
  <tr>
    <td>Last Name:</td>
    <td><%= @user.lastname %></td>
  </tr>
</table> 
<%= link_to 'View My Paths', {:controller => 'users', :action => 'paths', :id => @user.id}, {:title => 'View paths for ' + @user.login} %>
<% if is_authorized(@user, 'admin') %>
  <%= link_to 'Edit Account', edit_user_path(@user.id) %>
  <%= link_to 'Delete My Account', user_path(@user), :confirm => 'Are you sure you want to delete your account?', :method => :delete %>
  <%= link_to 'Manage Authorized Websites', {:controller => 'allowed_websites', :action => 'index', :user_id => @user.id } %>
<% end %>




